package com.aizuda.boot.modules.business.feishu.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author sangyirong
 * @ClassName FeishuApprovalCode
 * @Version 1.0
 * @Date 2025/8/2 18:12
 */
@Data
@TableName("feishu_approval_code")
@Schema(description = "飞书审批定义code")
public class FeiShuApprovalCode {

    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "流程分类ID")
    private Long categoryId;

    @Schema(description = "流程唯一key")
    private String processKey;

    @Schema(description = "飞书租户key")
    private String tenantKey;

    @Schema(description = "对应飞书审批定义code")
    private String approvalCode;

    @Schema(description = "创建人")
    private Long creatorId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "修改人")
    private Long updateId;

    @Schema(description = "更新时间")
    private Date updateTime;
}
